/*
 * Supplier.h
 *
 *  Created on: 29.10.2013
 *      Author: ulgish
 */

#ifndef SUPPLIER_H_
#define SUPPLIER_H_

#include "DThread.h"
#include <SyncWriter.h>
#include <lab2/Store.h>

namespace DT {

class Supplier: public DT::DThread {
	int count;
	//arg - pointer to object of Store
	virtual void* run(void* arg);
public:
	Supplier(int count);

	virtual ~Supplier();
};

}

#endif /* SUPPLIER_H_ */
